package com.tanhua.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.sso.pojo.UserInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Insert("INSERT INTO tb_user_info (id, nickname, avatar, age, education, city, birthday, cover_pic, profession, income, created, updated) VALUES (#{id},#{nickname},#{avatar},#{age},#{education},#{city},#{birthday},#{coverPic},#{profession},#{income},#{created},#{updated})")
    public void add(UserInfo userInfo);
}
